import Layout from '@/pages/index';

export default [
	{
		path: '/',
		name: '登录页面',
		component: Layout,
		redirect: '/login1',
		meta: {
			isSidebar: true
		},
		children: [
			{
				path: '/login1',
				name: '登录页',
				component: () => import(/* webpackChunkName: "page" */ '@/pages/login/login1'),
				meta: {
					keepAlive: true,
					isTab: false,
					isAuth: false,
					isSidebar: true
				}
			}
		]
	},
	// {
	// 	path: '/lock',
	// 	name: '锁屏页',
	// 	component: () => import(/* webpackChunkName: "page" */ '@/pages/lock'),
	// 	meta: {
	// 		// keepAlive: true,
	// 		// isTab: false,
	// 		// isAuth: false
	// 	}
	// }
	{
		path: '/error-page',
		name: '报错页面',
		component: Layout,
		redirect: '/error-page/404',
		meta: {
			isSidebar: true
		},
		children: [
			{
				path: '/error-page/404',
				component: () => import(/* webpackChunkName: "page" */ '@/pages/error-page/404'),
				name: '404',
				meta: {
					isSidebar: true
				}
			},
			{
				path: '/error-page/403',
				component: () => import(/* webpackChunkName: "page" */ '@/pages/error-page/403'),
				name: '403',
				meta: {
					isSidebar: true
				}
			},
			{
				path: '/error-page/500',
				component: () => import(/* webpackChunkName: "page" */ '@/pages/error-page/500'),
				name: '500',
				meta: {
					isSidebar: true
				}
			}
		]
	}
];
